Exact Equations
Exact equations are differential equations of the following form
M(x,y)dx+N(x,y)dy=0
They can also be written in the following forms:
M(x,y)dxdy+N(x,y)=0
M(x,y)+N(x,y)dxdy=0
Checking for exact equations
To check if an equation is exact, you have to take the partial derivatives of M(x,y) and N(x,y) and ensure that they are equal.
∂y∂M=∂x∂N
Solving Exact Equations
The solution to a exact equation is a function I(x,y) whose partial derivatives can be put in place of M(x,y) and N(x,y)
∂x∂Idx+∂y∂Idy=0
To find this function I, you can either integrate ∫Mdx or ∫Ndy.
If I(x,y) has partial derivatives ∂x∂I and ∂y∂I, then I(x,y)=C is a solution to the exact equation
\frac{\partial I}{\partial x}dx + \frac{\partial I}{\partial y} dy=0
Examples
Example 1: Solve (3x2y3−5x4)dx+(y+3x3y2)dy
Solution 1: This looks like an exact equation, but check to make sure.
- M(x,y)=3x2y3−5x4
- N(x,y)=y+3x3y2
- ∂y∂M=9x2y2
- ∂x∂N=9x2y2
The partial derivatives are equal, so this is an exact equation.
We will integrate ∫Mdx to find I(x,y).
∫3x2y3−5x4dx=x3y3−x5+f(y)=I(x,y)
To find f(y), remember that ∂y∂I=N(x,y).
That means that 3x3y2+f′(y)=y+3x3y2. Simplify that to f′(y)=y, and you get f(y)=∫f′(y)=2y2+C.
I(x,y)=x3y3−x5+2y2+C.
The solution then is x3y3−x5+2y2=C. You can solve this for y to get the explicit solution.